package com.ruoyi.project.system.info.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 基础信息对象 biz_base_info
 * 
 * @author ruoyi
 * @date 2020-05-01
 */
public class BizBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String companyAddress;

    /** 联系电话1 */
    @Excel(name = "联系电话1")
    private String phone1;

    /** 联系电话2 */
    @Excel(name = "联系电话2")
    private String phone2;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() 
    {
        return companyAddress;
    }
    public void setPhone1(String phone1) 
    {
        this.phone1 = phone1;
    }

    public String getPhone1() 
    {
        return phone1;
    }
    public void setPhone2(String phone2) 
    {
        this.phone2 = phone2;
    }

    public String getPhone2() 
    {
        return phone2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyName", getCompanyName())
            .append("companyAddress", getCompanyAddress())
            .append("phone1", getPhone1())
            .append("phone2", getPhone2())
            .toString();
    }
}
